package com.BlogPark.service.RegistrationService;

import com.BlogPark.pojo.User;
import org.springframework.stereotype.Service;

@Service
public interface RegistrationService {


    /**
     * checkUserOut
     * @param email
     * @return
     */
    public User findUserByEmail(String email);


    /**
     * 用户注册
     *
     * @param user
     * @return
     */
    public String Register(User user);



}
